home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Mac Game Programming Gurus / TricksOfTheMacGameProgrammingGurus.iso / More Source / C⁄C++ / picture / main.c < prev    next >
C/C++ Source or Header  |  1993-09-23  |  1KB  |  61 lines

  1. //    Copyright 1993 Ralph Gonzalez
  2.  
  3. /*
  4. *    FILE:        main.c
  5. *    AUTHOR:        R. Gonzalez
  6. *    CREATED:    Apr. 3, 1992
  7. *
  8. *    main() function for pict applications.
  9. *
  10. *    ASSOCIATED FILES:
  11. *        One of:
  12. *        macscrn.c/macscrn.h, pcscrn.c/pcscrn.h, xscrn.c/xscrn.h.
  13. *
  14. *        One of:
  15. *        simpict.h/simpict.c, ringpict.h/ringpict.c.,
  16. *        anringpi.h/anringpi.c, dycubpic.h/dycubpic.c.
  17. *
  18. *        For simpict (simple picture):
  19. *        class.c,class.h,screen.c,screen.h,coord.c,coord.h,
  20. *        frame.c,frame.h,color.h,error.c,error.h,project.c,project.h,
  21. *        backdrop.c,backdrop.h,pict.c,pict.h,several ANSI and system-
  22. *        specific headers.
  23. *
  24. *        For ringpict (ring picture), above files plus:
  25. *        trans.c,trans.h,camera.c,camera.h,segment.c,segment.h,
  26. *        line.c,line.h,cube.c,cube.h,ring.h,ring.c.
  27. *
  28. *        For anringpi (animated picture), above files plus:
  29. *        animate.h,animate.c,atring.c,atring.h,anring.c,anring.h.
  30. *
  31. *        For dycubpic (dynamic picture), above files plus:
  32. *        dynamic.h,dynamic.c,dycube.h,dycube.c.
  33. *
  34. *    PROJECT CONTENTS (Think C):
  35. *        above-listed source (.c) files, MacTraps, ANSI,
  36. *        oops library.
  37. *
  38. *    COMPILATION (Think C):
  39. *        68881 code generation if available.  Prefix: #include <think.h>
  40. */
  41.  
  42. # include    "anringpi.h"
  43. # include    "ringpict.h"
  44. # include    "simpict.h"
  45. # include    "dycubpic.h"
  46.  
  47. /******************************************************************
  48. *    main function
  49. ******************************************************************/
  50. main()
  51. {
  52.     Generic_Pict    *pict;
  53.     
  54.     pict = new An_Ring_Pict;
  55.     pict->run();
  56.     delete pict;
  57. }
  58.  
  59.     
  60.     
  61.